package features;

public class Placement {
	
	double   X = 0.0,Y = 0.0,Z = 0.0;
	public int face;
	
	public final static int TOPFACE = 1;
	public final static int FRONTFACE = 2;
	public final static int WESTFACE = 3;
	public final static int BACKFACE = 4;
	public final static int EASTFACE = 5;
	public final static int LOWERFACE = 6;
	
	public Placement(double x, double y, double z, int face) {
		super();
		X = x;
		Y = y;
		Z = z;
		this.face = face;
	}
	public void changeReference(double X, double Y, double Z)
	{
		this.X = X;
		this.Y = Y;
		this.Z = Z;
		
	}

	public String getFace() {
		switch (face) {
		case TOPFACE:
			return "TOP FACE";
		case FRONTFACE:
			return "FRONT FACE";
		case WESTFACE:
			return "WEST FACE";
		case BACKFACE:
			return "BACK FACE";
		case EASTFACE:
			return "EAST FACE";
		case LOWERFACE:
			return "LOWER FACE";

		default:
			break;
		}
		return "";
	}
	public void setFace(int face) {
		this.face = face;
	}
	public double getX() {
		return X;
	}
	public double getY() {
		return Y;
	}
	public double getZ() {
		return Z;
	}
	public void setX(double x) {
		X = x;
	}
	public void setY(double y) {
		Y = y;
	}
	public void setZ(double z) {
		Z = z;
	}
	
}
